package com.gexiaobao.pigeon.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.gexiaobao.pigeon.R
import com.gexiaobao.pigeon.app.model.bean.DeviceListBean

/**
 * @author:hxw
 * @date  :2023/1/7
 * @desc  :
 */
class DeviceCodeListAdapter(data: ArrayList<DeviceListBean.DataList>) : BaseQuickAdapter<DeviceListBean.DataList, BaseViewHolder>(R.layout.item_devie_code, data) {

    override fun convert(holder: BaseViewHolder, item: DeviceListBean.DataList) {
        holder.setText(R.id.tv_item_device_code, item.imsi)
    }

}